package com.lzy.wzy.utils;

import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;


/**
 * @author cream
 */
public class Objects {

    public static Boolean isNull(Object obj){
        return obj==null;
    }

    public static Boolean isNotNull(Object obj){
        return obj!=null;
    }

    public static Boolean isNotEmpty(@Nullable Object obj){
        return !ObjectUtils.isEmpty(obj);
    }
}
